package org.jeecg.modules.flowermater.mapper;

import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.flowermater.entity.FlowerMaterialBook;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.flowermater.entity.FlowerMaterialCost;

/**
 * @Description: 采后物资台账表
 * @Author: jeecg-boot
 * @Date: 2022-07-13
 * @Version: V1.0
 */
public interface FlowerMaterialBookMapper extends BaseMapper<FlowerMaterialBook> {

    /**
     *
     * 物资成本查询
     * @param page
     * @param storehouse
     * @param cost
     * @return
     */
    IPage<FlowerMaterialCost> queryMaterCost(IPage<FlowerMaterialCost> page, @Param("storehouse") String storehouse, @Param("cost") String cost, @Param("sDate") String sDate, @Param("eDate") String eDate, @Param("psnId") String psnId);


}
